package org.example.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.example.entity.BaseEntity;

import java.util.Date;

/**
 * 排课实体
 */
@Data
@TableName("sys_assigned")
public class AssignedEntity extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;//
    private Long studentId;//学生id
    private Long courseId;//课程id
    @TableField(exist = false)
    private String face;//学生人像照片
    @TableField(exist = false)
    private String studentNum;//学生学号
    @TableField(exist = false)
    private String courseName;//课程名
    @TableField(exist = false)
    private String teacherName;//教师姓名
    @TableField(exist = false)
    private String studentName;//学生姓名
    @TableField(exist = false)
    private String studentMajor;//学生专业班级
}
